
<h2>Show your account</h2>

<fieldset>
    <legend><h3>Show Your Details</h3></legend>
        <p>
				<label for="user_photo" >Photo:</label>
				<%if @user.uphoto.nil?%>
				<%= image_tag('') %>
				<%else%>
				<%= image_tag(@user.uphoto) %>
				<%end%>
				</p> 

        <p>
				<label for="user_name" >Name:</label>
				<%= @user.name %>
				</p>    				
				
		
          
        <p>
				<label for="user_email_addr" >E-Mail:</label>
				<%= @user.email_addr %>
				</p> 	   
				
        <p>
        <label for="user_question">Question:</label>
        <%= @user.question %>
        </p>
        
        <p>
        <label for="user_question_answer">Question Answer:</label>
        <%= @user.question_answer %>
        </p>
        
        <p>
        <label for="openid_url">OpenID URL:</label>
        <%= @user.identity_url%>
        </p> 
        
  <p>Profile:<%= @user.profile %></p>         				       	
 

  <%= link_to 'Edit Profile', edit_user_path(logged_in_user) %>
     <%= link_to 'Add Your Photo', :controller => 'users',:action => 'mphoto',:id =>logged_in_user.id %>
</fieldset>

